Produced by Araxis Merge on 2024-03-04 14:38:49 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | /Users/coca/Documents/www/Porto v4.0.2/Theme Files/Magento 2.x/Porto Theme v4.0.7/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/category | banner.phtml | 2023-03-06 04:43:43 +0000 |
| 2 | /Users/coca/Documents/www/Porto v4.0.2/Theme Files/Magento 2.x/Porto Theme v4.0.8/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/category | banner.phtml | 2023-03-06 04:43:43 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 1 | 48 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php | 1 | <?php | |||
| 2 | $_category_desc = $this->helper('Smartwave\Porto\Helper\Data')->getConfig('porto_settings/category/category_description'); | 2 | $_category_desc = $this->helper('Smartwave\Porto\Helper\Data')->getConfig('porto_settings/category/category_description'); | |||
| 3 | ?> | 3 | ?> | |||
| 4 | <?php if ($_category_desc == "full_width" && $_description = $block->getCurrentCategory()->getDescription()): ?> | 4 | <?php if ($_category_desc == "full_width" && $_description = $block->getCurrentCategory()->getDescription()): ?> | |||
| 5 | <div class="category-description no-margin"> | 5 | <div class="category-description no-margin"> | |||
| 6 | <?php echo $this->helper('Magento\Catalog\Helper\Output')->categoryAttribute($block->getCurrentCategory(), $_description, 'description') ?> | 6 | <?php echo $this->helper('Magento\Catalog\Helper\Output')->categoryAttribute($block->getCurrentCategory(), $_description, 'description') ?> | |||
| 7 | </div> | 7 | </div> | |||
| 8 | <script type="text/javascript"> | 8 | <script type="text/javascript"> | |||
| 9 | require([ | 9 | require([ | |||
| 10 | 'jquery' | 10 | 'jquery' | |||
| 11 | ], function ($) { | 11 | ], function ($) { | |||
| 12 | var resizeDesc = function(){ | 12 | var resizeDesc = function(){ | |||
| 13 | var $d_h = $('.page-wrapper .category-description').height(); | 13 | var $d_h = $('.page-wrapper .category-description').height(); | |||
| 14 | $('body:not(.cms-index-index) .page-wrapper > .breadcrumbs + .page-main > .page-main-inner > .sidebar-nav').css({ | 14 | $('body:not(.cms-index-index) .page-wrapper > .breadcrumbs + .page-main > .page-main-inner > .sidebar-nav').css({ | |||
| 15 | 'margin-top': -$d_h | 15 | 'margin-top': -$d_h | |||
| 16 | }); | 16 | }); | |||
| 17 | } | 17 | } | |||
| 18 | resizeDesc(); | 18 | resizeDesc(); | |||
| 19 | $(window).resize(function(){ | 19 | $(window).resize(function(){ | |||
| 20 | resizeDesc(); | 20 | resizeDesc(); | |||
| 21 | }); | 21 | }); | |||
| 22 | }); | 22 | }); | |||
| 23 | </script> | 23 | </script> | |||
| 24 | <?php endif; ?> | 24 | <?php endif; ?> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.